package com.dingreading.cloud.common.util;

/**
 * 自定义异常
 */
public class DescribeException extends Exception {

    private int statusCode = 500;

    public DescribeException(int statusCode, String message) {
        super(message);
        this.statusCode = statusCode;
    }

    public DescribeException(String message) {
        super(message);
    }

    public int getStatusCode() {
        return statusCode;
    }
}
